home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM BV3 / BMUG PD-ROM Version BV3 (CDRM1097900).iso / HyperCard / Games / The Golden Parrot / card_22911.txt < prev    next >
Text File  |  1990-08-20  |  1KB  |  46 lines

  1. -- card: 22911 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3426
  5. -- name: Talk with the chief
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global score
  9.   subtract 5 from score
  10.   if score <= 0 then
  11.     visual effect scroll up
  12.     go card "end"
  13.   end if
  14.   put score into field "scorebox"
  15. end openCard
  16. on mouseUp
  17.  
  18.   get field "textarea" of card "Mountain Trail"
  19.   put it into holder
  20.   put the number of lines in field "textarea" of card "Mountain Trail" into counter
  21.   repeat until counter = 0
  22.     get line counter of holder
  23.     if it contains "Faces all around" then
  24.       delete line counter of field "textarea" of card "Mountain Trail"
  25.       put 1 into counter
  26.     end if
  27.     subtract 1 from counter
  28.   end repeat
  29.  
  30.   visual effect dissolve
  31.   go to card "Communal Hut"
  32.  
  33. end mouseUp
  34.  
  35.  
  36. -- part contents for background part 1
  37. ----- text -----
  38. Talk with the chief
  39.  
  40. -- part contents for background part 2
  41. ----- text -----
  42. The chief of the village is a friendly sort, especially if you tell jokes. He likes jokes. After warming the chief up with a few jokes, you ask his permission to collect animals in the surrounding jungle. ''It is a big jungle,'' he says. ''Take whatever you wish.''
  43.  
  44. -- part contents for background part 5
  45. ----- text -----
  46. 90